package com.yun.zf.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.app.domain.SysUserAuth;

/**
 * <p>
 * 第三方登录表 服务类
 * </p>
 *
 * @author cj
 * @since 2020-09-23
 */
public interface SysUserAuthService extends IService<SysUserAuth> {
    public SysUserAuth getUserByIphone(Long iphone);

    public SysUserAuth getUserByIphone(Long iphone,String loginType);

    public SysUserAuth getUserByOpenId(String openId,String loginType);

    int updateAuthByOpenId(SysUserAuth auth);

}
